#w_popup{
    display: none;
    position: fixed;
    top: 30px;
    left: 10%;
    right: 10%;
    height: 500px;
    z-index: 9999;
    background: #fff;
    border: 1px solid #ddd;
    box-shadow: 0 0 12px rgba(171,139,110,.38);

}

.w_popup{
    display: table;
    table-layout: fixed;
    width: 100%;
    height: 100%;
}

.w_popup .w_popup_left{
    display: table-cell;
    width: 60px;
    height: 100%;
}

.w_popup .w_popup_left .w_popup_left_content{
    display: block;
    float: left;
    width: 100%;
    height: 100%;
}

.w_popup .w_popup_left ul, .w_popup .w_popup_left li{
    list-style: none;
    display: block;
}

.w_popup .w_popup_left ul{
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    background: #ecf0f1;
}

.w_popup .w_popup_left li{
    width: 100%;
    height: 40px;
    text-align: center;
    line-height: 40px;
    border-bottom: 1px solid #ddd;
    font-size: 22px;
    cursor: pointer;
}

.w_popup .w_popup_left li:hover{
    background: #fff;
}

.w_popup .w_popup_left ul .active{
    background: #fff;
}

.w_popup .w_popup_right{
    display: table-cell;
    height: 100%;
    border-left: 1px solid #ddd;
    float: left;
}

.w_popup .w_popup_right .w_popup_right_content, .w_popup .w_popup_right .w_popup_right_link, .w_popup_right_upload{
    display: table;
    table-layout: fixed;
    width: 100%;
    height: 100%;
}

.w-popup-header{
    display: table-row;
    width: 100%;
    height: 40px;

}

.w-popup-header-content{
    display: block;
    font-family: "Open Sans", Helvetica, Arial, sans-serif;
    color: #2895f1;
    width: 100%;
    height: 100%;
    border-bottom: 1px solid #ddd;
}

.w-popup-header-content i{
    color: #444;
}

.w-popup-header-content ul{
    display: block;
    width: 100%;
    height: 100%;
    margin: 0;
    margin-left: 15px;
}

.w-popup-header-content ul, .w-popup-header-content li{
    list-style: none;
    display: inline-block;
}

.w-popup-header-content li{
    height: 100%;
    line-height: 40px;
    cursor: pointer;
}

.w-popup-body{
    display: table-row;
    width: 100%;
}

.w-popup-body .upload-link-textbox{
    width: 90%;
    height: 34px;
    margin: 20px
}

.w-popup-body .upload-link-button{
    margin-left: 20px;
    border: none;
    padding: 6px 16px;
    background: #95a5a6;
    color: #fff;
    border-radius: 3px;
}

.w-popup-body .upload-link-button:hover{
    background: #7f8c8d;
}

.w-popup-body .w-popup-left{
    display: inline-block;
    float: left;
    width: 24%;
    height: 100%;
    border-right: 1px solid #ddd;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.w-popup-body .w-popup-left .tree:before{
    border: none;
}

.w-popup-body .w-popup-right{
    display: inline-block;
    float: left;
    width: 76%;
    height: 100%;
    overflow-y: auto;
}

.w-popup-body .w-popup-right .w-popup-image-time{
    display: block;
    float: left;
    width: 100%;
    height: 30px;
    font-size: 13px;
    padding-left: 10px;
    line-height: 30px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.w-popup-body .w-popup-right .w-popup-image{
    position: relative;
    float: left;
    display: inline-block;
    overflow: hidden;
    width: 140px;
    height: 140px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    margin-left: 10px;
    border: 1px solid #ddd;
    box-shadow: 0 0 12px rgba(171,139,110,.38);
    margin-bottom: 10px;
    cursor: pointer;
}

.w-popup-body .w-popup-right .w-popup-image.selected{
    border: 5px solid #3498db;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}

.w-popup-body .w-popup-right .w-popup-image .w-popup-image-checked{
    display: none;
}

.w-popup-body .w-popup-right .w-popup-image.selected .w-popup-image-checked{
    display: block;
    position: absolute;
    top: 0;
    right: -3px;
    color: #fff;
    width: 20px;
    height: 20px;
    background: #3498db;
    text-align: center;
    font-size: 13px;
    -webkit-border-bottom-left-radius: 5px;
    -moz-border-radius-bottomleft: 5px;
    border-bottom-left-radius: 5px;
}

.w-popup-body .w-popup-right .w-popup-image .centered {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    -webkit-transform: translate(50%,50%);
    -ms-transform: translate(50%,50%);
    transform: translate(50%,50%);
}

.w-popup-body .w-popup-right .w-popup-image img{
    position: absolute;
    top: 0;
    left: 0;
    width: auto;
    max-height: 137px;
    -webkit-transform: translate(-50%,-50%);
    -ms-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
}

.w-popup-body .w-popup-image-contextmenu{
    position: absolute;
    width: 120px;
    background: #fff;
    border: 1px solid #ddd;
    box-shadow: 0 0 12px rgba(171,139,110,.38);
    z-index: 9999;
}

.w-popup-body .w-popup-image-contextmenu ul,.w-popup-body .w-popup-image-contextmenu li{
    list-style: none;
    display: block;
    margin: 0;
    padding: 0;
}

.w-popup-body .w-popup-image-contextmenu li:first-child{
    padding-top: 10px;
}

.w-popup-body .w-popup-image-contextmenu li{
    height: 30px;
    padding-left: 30px;
    cursor: pointer;
}

.w-popup-footer{
    display: table-row;
    width: 100%;
    height: 40px;
}

.w-popup-footer-content{
    display: block;
    width: 100%;
    height: 100%;
    border-top: 1px solid #ddd;
}

.w-popup-footer-content input[type="button"]{
    float: right;
    margin-top: 5px;
    margin-right: 10px;
    padding: 4px 16px;
    background: #3498db;
    border-radius: 3px;
    border: none;
    color: #fff;
    outline: none;
}

.w-popup-footer-content input[type="button"]:hover{
    background: #2980b9;
}

.w_popup_close{
    position: absolute;
    top: 10px;
    right: 10px;
    color: #ccc;
    cursor: pointer;
}

.w_popup_close:hover{
    color: #e74c3c;
}